package com.zhiwei.service;

import com.zhiwei.mapper.OrderMapper;
import com.zhiwei.pojo.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService{
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public Order getOrder(Integer orderId) {
        return orderMapper.selectById(orderId);
    }
}
